<?php

require_once '/db.php';

class Keyword extends DB{
    public $name;
 public function lonhon10() {
        $this->connect();
        $query = "SELECT * FROM keywords WHERE LENGTH(name) >= 10";
        $keywords = $this->query($query);
        return $keywords;
    }

    public function workk() {
        $this->connect();
        $query = "SELECT * FROM works LIMIT 0,20 ";
        $works = $this->query($query);
        return $works;
}
    }
 
